﻿
using FlyHorse.LIMS.DAL;
using FlyHorse.LIMS.IDAL;
using FlyHorse.LIMS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlyHorse.LIMS.DALFactory
{
	public partial class DBSession : IDBSession
    {
	
		private ICustomerDal _CustomerDal;
        public ICustomerDal CustomerDal
        {
            get
            {
                if(_CustomerDal == null)
                {
                    _CustomerDal = AbstractFactory.CreateCustomerDal();
                }
                return _CustomerDal;
            }
            set { _CustomerDal = value; }
        }
	
		private IC__MigrationHistoryDal _C__MigrationHistoryDal;
        public IC__MigrationHistoryDal C__MigrationHistoryDal
        {
            get
            {
                if(_C__MigrationHistoryDal == null)
                {
                    _C__MigrationHistoryDal = AbstractFactory.CreateC__MigrationHistoryDal();
                }
                return _C__MigrationHistoryDal;
            }
            set { _C__MigrationHistoryDal = value; }
        }
	
		private IDictionaryDetailDal _DictionaryDetailDal;
        public IDictionaryDetailDal DictionaryDetailDal
        {
            get
            {
                if(_DictionaryDetailDal == null)
                {
                    _DictionaryDetailDal = AbstractFactory.CreateDictionaryDetailDal();
                }
                return _DictionaryDetailDal;
            }
            set { _DictionaryDetailDal = value; }
        }
	
		private IDictionaryTypeDal _DictionaryTypeDal;
        public IDictionaryTypeDal DictionaryTypeDal
        {
            get
            {
                if(_DictionaryTypeDal == null)
                {
                    _DictionaryTypeDal = AbstractFactory.CreateDictionaryTypeDal();
                }
                return _DictionaryTypeDal;
            }
            set { _DictionaryTypeDal = value; }
        }
	
		private IGoodDal _GoodDal;
        public IGoodDal GoodDal
        {
            get
            {
                if(_GoodDal == null)
                {
                    _GoodDal = AbstractFactory.CreateGoodDal();
                }
                return _GoodDal;
            }
            set { _GoodDal = value; }
        }
	
		private IGoodsTypeDal _GoodsTypeDal;
        public IGoodsTypeDal GoodsTypeDal
        {
            get
            {
                if(_GoodsTypeDal == null)
                {
                    _GoodsTypeDal = AbstractFactory.CreateGoodsTypeDal();
                }
                return _GoodsTypeDal;
            }
            set { _GoodsTypeDal = value; }
        }
	
		private ILoginUserDal _LoginUserDal;
        public ILoginUserDal LoginUserDal
        {
            get
            {
                if(_LoginUserDal == null)
                {
                    _LoginUserDal = AbstractFactory.CreateLoginUserDal();
                }
                return _LoginUserDal;
            }
            set { _LoginUserDal = value; }
        }
	
		private IOJCB4EntitiesDal _OJCB4EntitiesDal;
        public IOJCB4EntitiesDal OJCB4EntitiesDal
        {
            get
            {
                if(_OJCB4EntitiesDal == null)
                {
                    _OJCB4EntitiesDal = AbstractFactory.CreateOJCB4EntitiesDal();
                }
                return _OJCB4EntitiesDal;
            }
            set { _OJCB4EntitiesDal = value; }
        }
	
		private IProductionGroupDal _ProductionGroupDal;
        public IProductionGroupDal ProductionGroupDal
        {
            get
            {
                if(_ProductionGroupDal == null)
                {
                    _ProductionGroupDal = AbstractFactory.CreateProductionGroupDal();
                }
                return _ProductionGroupDal;
            }
            set { _ProductionGroupDal = value; }
        }
	
		private IProductionLineDal _ProductionLineDal;
        public IProductionLineDal ProductionLineDal
        {
            get
            {
                if(_ProductionLineDal == null)
                {
                    _ProductionLineDal = AbstractFactory.CreateProductionLineDal();
                }
                return _ProductionLineDal;
            }
            set { _ProductionLineDal = value; }
        }
	
		private IReportMixDal _ReportMixDal;
        public IReportMixDal ReportMixDal
        {
            get
            {
                if(_ReportMixDal == null)
                {
                    _ReportMixDal = AbstractFactory.CreateReportMixDal();
                }
                return _ReportMixDal;
            }
            set { _ReportMixDal = value; }
        }
	
		private IReportMixResultDal _ReportMixResultDal;
        public IReportMixResultDal ReportMixResultDal
        {
            get
            {
                if(_ReportMixResultDal == null)
                {
                    _ReportMixResultDal = AbstractFactory.CreateReportMixResultDal();
                }
                return _ReportMixResultDal;
            }
            set { _ReportMixResultDal = value; }
        }
	
		private IReportProductDal _ReportProductDal;
        public IReportProductDal ReportProductDal
        {
            get
            {
                if(_ReportProductDal == null)
                {
                    _ReportProductDal = AbstractFactory.CreateReportProductDal();
                }
                return _ReportProductDal;
            }
            set { _ReportProductDal = value; }
        }
	
		private IReportProductResultDal _ReportProductResultDal;
        public IReportProductResultDal ReportProductResultDal
        {
            get
            {
                if(_ReportProductResultDal == null)
                {
                    _ReportProductResultDal = AbstractFactory.CreateReportProductResultDal();
                }
                return _ReportProductResultDal;
            }
            set { _ReportProductResultDal = value; }
        }
	
		private IReportRawDal _ReportRawDal;
        public IReportRawDal ReportRawDal
        {
            get
            {
                if(_ReportRawDal == null)
                {
                    _ReportRawDal = AbstractFactory.CreateReportRawDal();
                }
                return _ReportRawDal;
            }
            set { _ReportRawDal = value; }
        }
	
		private IReportRawResultDal _ReportRawResultDal;
        public IReportRawResultDal ReportRawResultDal
        {
            get
            {
                if(_ReportRawResultDal == null)
                {
                    _ReportRawResultDal = AbstractFactory.CreateReportRawResultDal();
                }
                return _ReportRawResultDal;
            }
            set { _ReportRawResultDal = value; }
        }
	
		private IReportSemiDal _ReportSemiDal;
        public IReportSemiDal ReportSemiDal
        {
            get
            {
                if(_ReportSemiDal == null)
                {
                    _ReportSemiDal = AbstractFactory.CreateReportSemiDal();
                }
                return _ReportSemiDal;
            }
            set { _ReportSemiDal = value; }
        }
	
		private IReportSemiResultDal _ReportSemiResultDal;
        public IReportSemiResultDal ReportSemiResultDal
        {
            get
            {
                if(_ReportSemiResultDal == null)
                {
                    _ReportSemiResultDal = AbstractFactory.CreateReportSemiResultDal();
                }
                return _ReportSemiResultDal;
            }
            set { _ReportSemiResultDal = value; }
        }
	
		private IResourceDal _ResourceDal;
        public IResourceDal ResourceDal
        {
            get
            {
                if(_ResourceDal == null)
                {
                    _ResourceDal = AbstractFactory.CreateResourceDal();
                }
                return _ResourceDal;
            }
            set { _ResourceDal = value; }
        }
	
		private IRoleDal _RoleDal;
        public IRoleDal RoleDal
        {
            get
            {
                if(_RoleDal == null)
                {
                    _RoleDal = AbstractFactory.CreateRoleDal();
                }
                return _RoleDal;
            }
            set { _RoleDal = value; }
        }
	
		private ISamplingPlaceDal _SamplingPlaceDal;
        public ISamplingPlaceDal SamplingPlaceDal
        {
            get
            {
                if(_SamplingPlaceDal == null)
                {
                    _SamplingPlaceDal = AbstractFactory.CreateSamplingPlaceDal();
                }
                return _SamplingPlaceDal;
            }
            set { _SamplingPlaceDal = value; }
        }
	
		private ISamplingPlaceMixDal _SamplingPlaceMixDal;
        public ISamplingPlaceMixDal SamplingPlaceMixDal
        {
            get
            {
                if(_SamplingPlaceMixDal == null)
                {
                    _SamplingPlaceMixDal = AbstractFactory.CreateSamplingPlaceMixDal();
                }
                return _SamplingPlaceMixDal;
            }
            set { _SamplingPlaceMixDal = value; }
        }
	
		private IStandardCustomerDal _StandardCustomerDal;
        public IStandardCustomerDal StandardCustomerDal
        {
            get
            {
                if(_StandardCustomerDal == null)
                {
                    _StandardCustomerDal = AbstractFactory.CreateStandardCustomerDal();
                }
                return _StandardCustomerDal;
            }
            set { _StandardCustomerDal = value; }
        }
	
		private IStandardMixDal _StandardMixDal;
        public IStandardMixDal StandardMixDal
        {
            get
            {
                if(_StandardMixDal == null)
                {
                    _StandardMixDal = AbstractFactory.CreateStandardMixDal();
                }
                return _StandardMixDal;
            }
            set { _StandardMixDal = value; }
        }
	
		private IStandardRawDal _StandardRawDal;
        public IStandardRawDal StandardRawDal
        {
            get
            {
                if(_StandardRawDal == null)
                {
                    _StandardRawDal = AbstractFactory.CreateStandardRawDal();
                }
                return _StandardRawDal;
            }
            set { _StandardRawDal = value; }
        }
	
		private IStandardSemiDal _StandardSemiDal;
        public IStandardSemiDal StandardSemiDal
        {
            get
            {
                if(_StandardSemiDal == null)
                {
                    _StandardSemiDal = AbstractFactory.CreateStandardSemiDal();
                }
                return _StandardSemiDal;
            }
            set { _StandardSemiDal = value; }
        }
	
		private ISysReportTypeDal _SysReportTypeDal;
        public ISysReportTypeDal SysReportTypeDal
        {
            get
            {
                if(_SysReportTypeDal == null)
                {
                    _SysReportTypeDal = AbstractFactory.CreateSysReportTypeDal();
                }
                return _SysReportTypeDal;
            }
            set { _SysReportTypeDal = value; }
        }
	
		private ITestItemDal _TestItemDal;
        public ITestItemDal TestItemDal
        {
            get
            {
                if(_TestItemDal == null)
                {
                    _TestItemDal = AbstractFactory.CreateTestItemDal();
                }
                return _TestItemDal;
            }
            set { _TestItemDal = value; }
        }
}
}